package com.example.spring_start.service;

import com.example.pojo.User;
import com.example.pojo.banner;
import com.example.req.LoginUserReq;
import com.example.req.LoginUserSaveReq;
import com.example.req.UserReq;
import com.example.req.bannerReq;
import com.example.resp.LoginUserResp;
import com.example.resp.PageResp;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;

@Service
public interface UserService {
    void register(LoginUserSaveReq req);
    LoginUserResp login(LoginUserReq req);

    PageResp<User> getUserList (UserReq userReq);

    void saveUser(LoginUserSaveReq loginUserSaveReq);
}
